// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill' //辅助es6 编译
import Vue from 'vue'
import App from './App'
import router from './router'
import fastclick from 'fastclick'; //解决500毫秒延迟
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VueLazyLoad from 'vue-lazyload';
import store from './store';
// 引入mock
import './mock'
// css
import 'swiper/dist/css/swiper.css'
import './common/less/p.less'

Vue.config.productionTip = false
// 使用
fastclick.attach(document.body)
Vue.use(VueAwesomeSwiper)
Vue.use(VueLazyLoad,{
  loading:require('common/img/default.png'),
})



// Vue.use(Loading)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {
    App,
  },
  template: '<App/>'
})
